Higher-order logic